.class public final Lnbisdk/nr;
.super Lnbisdk/dd;


# instance fields
.field private ts:Ljava/io/OutputStream;


# direct methods
.method public constructor <init>(Ljava/io/OutputStream;)V
    .locals 0

    invoke-direct {p0}, Lnbisdk/dd;-><init>()V

    iput-object p1, p0, Lnbisdk/nr;->ts:Ljava/io/OutputStream;

    return-void
.end method


# virtual methods
.method protected final c([B)V
    .locals 2
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lnbisdk/rp;
        }
    .end annotation

    :try_start_0
    iget-object v0, p0, Lnbisdk/nr;->ts:Ljava/io/OutputStream;

    invoke-virtual {v0, p1}, Ljava/io/OutputStream;->write([B)V
    :try_end_0
    .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0

    return-void

    :catch_0
    move-exception v0

    new-instance v1, Lnbisdk/bn;

    invoke-direct {v1, v0}, Lnbisdk/bn;-><init>(Ljava/io/IOException;)V

    throw v1
.end method

.method public final close()V
    .locals 1

    :try_start_0
    iget-object v0, p0, Lnbisdk/nr;->ts:Ljava/io/OutputStream;

    invoke-virtual {v0}, Ljava/io/OutputStream;->close()V
    :try_end_0
    .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0

    :goto_0
    return-void

    :catch_0
    move-exception v0

    goto :goto_0
.end method
